package com.chee.plant.hibernate.object;

import java.util.Calendar;

import com.chee.plant.hibernate.object.base.BaseUserFriend;

public class UserFriend extends BaseUserFriend {
	private static final long serialVersionUID = 1L;

	/* [CONSTRUCTOR MARKER BEGIN] */
	public UserFriend() {
		super();
	}

	/**
	 * Constructor for primary key
	 */
	public UserFriend(java.lang.Integer id) {
		super(id);
	}

	/**
	 * Constructor for required fields
	 */
	public UserFriend(java.lang.Integer id, java.lang.Integer ownerId,
			java.lang.Integer friendId, java.util.Date created) {

		super(id, ownerId, friendId, created);
	}

	/* [CONSTRUCTOR MARKER END] */

	public void setDefaults() {
		this.setCreated(Calendar.getInstance().getTime());
		this.setFriendId(0);
		this.setId(0);
		this.setOwnerId(0);
	}
}